package org.scirp.ijmis.service.personpaper;

import java.util.List;

import org.scirp.ijmis.po.personpaper.SurveyChoiceOfPerson;


public interface ISurveyChoiceOfPersonService {

	public List<SurveyChoiceOfPerson> selectAll();

	public Long countObject();

	public SurveyChoiceOfPerson selectById(Object id);

	public long saveSurveyChoiceOfPerson(SurveyChoiceOfPerson entity);

	public boolean updateSurveyChoiceOfPerson(SurveyChoiceOfPerson entity);

	public SurveyChoiceOfPerson deleteSurveyChoiceOfPerson(SurveyChoiceOfPerson entity);

	public List<SurveyChoiceOfPerson> selectSurveyChoiceOfPersonByPersonId(Long personId);
	
	public List<SurveyChoiceOfPerson> selectSurveyChoiceOfPersonBySurveyChoiceId(Long surveyChoiceId);
	public boolean updateSurveyChoiceOfPerson(List<SurveyChoiceOfPerson> surveyChoiceOfPersons);
	public boolean deleteSurveyChoiceOfPersonByPersonId(Long personId);
	public boolean updateSurveyChoiceOfPerson(Long personId,List<Long> surveyIds,List<SurveyChoiceOfPerson> surveyChoiceOfPersons);
	public Long countObjectByChoiceId(Long ChoiceId) ;
	public Long countObjectBySurveyId(Long surveyId);
}
